from django.contrib import admin

# Register your models here.
from money.models import Detail


class WorkAdmin(admin.ModelAdmin):
    list_display = ['title', "person", "account", "time"]
    date_hierarchy = "time"
    list_filter = ["person__name", ]


admin.site.register(Detail, WorkAdmin)
